<!DOCTYPE html>
<html>
	<head>
		<meta http-equiv="content-type" content="text/html; charset=UTF-8">
		<meta charset="utf-8">
		<meta name="viewport" content="width=device-width,minimum-scale=1.0,maximum-scale=1.0,user-scalable=no">
		<meta name="format-detection" content="telephone=no">
		<meta name="apple-mobile-web-app-status-bar-style" content="black">
		<meta name="apple-mobile-web-app-capable" content="yes">
		<script src="style/jquery-1.9.1.min.js"></script>
		<script src="style/wpo_alog_speed.js" async></script>
		<script src="style/alog.js"></script>
		<title>{$pagetitle}</title>
		<link rel="stylesheet" type="text/css" href="style/list_css_0_6f15796.css"/>
		<link rel="stylesheet" type="text/css" href="style/common_css_0_6c6ef1d.css"/>
		<link rel="stylesheet" type="text/css" href="style/common_css_1_ad94b5d.css"/>
		<link rel="stylesheet" type="text/css" href="/wap/images/footer.css"/>
	</head>
	
	<body mon="position=index">
		<script src="style/jquery-1.9.1.min.js"></script>
		<header class="w-index-header" mon="type=header" style="position:relative;">
			<div style="position:absolute;top:.5rem;left:.625rem;width:1.75rem;height:1.75rem;">
				<a href="javascript:history.back()">
					<img src="/wap/images/return.png"/>					
				</a>
			</div>
			{$pagetitle}		
		</header>
		<article class="p-index" mon="action=click" id="j-index">
			<style type="text/css">
				.paginator{padding:10px;white-space:nowrap;font-size:12px;}
				.paginator li{display:inline;margin:0 4px;*vertical-align:middle;}
				.paginator li.current{*height:24px;margin:0 6px;font-weight:bold;*line-height:24px;}
				.paginator li a{*display:inline-block;*height:22px;padding:3px 6px 4px;*padding:0 6px;border:1px solid #48D9CF;text-decoration:none;*line-height:22px;*position:relative;background:#FFFFFF;border-radius:4px;color:#48D9CF;}
				.paginator li a.focus{background:#48D9CF;color:#FFFFFF;border:none;}
				.paginator li a:hover{*height:24px;padding:4px 7px 5px;*padding:0 7px;border:1px solid #48D9CF;*line-height:24px;background:#48D9CF;color:#FFFFFF;text-decoration:none;}
				.paginator li a.nolink{color:#ccc;cursor:default;}
				.paginator li a.nolink:hover{background:#48D9CF;*height:22px;padding:3px 6px 4px;*padding:0 6px;border:1px solid #ccc;*line-height:22px;}
				article{background:#FFFFFF;}
				.box{padding:0 1rem;}
				.box .head{padding:.625rem 0;font-weight:normal;font-size:1rem;color:#333333;border-bottom:1px solid #ECECEC;}
				.box .head h3{float:right;display:inline-block;font-weight:normal;font-size:.875rem;color:#666666;}
				.box .head h3 strong{font-weight:normal;font-size:.875rem;color:#48D9CF;}
				#order-list{width:100%;}
				#order-list th,#order-list td{padding:.625rem 0;text-align:center;}
			</style>
			<div class="box">
				<div class="head">
					兑换记录
					<h3>当前的账户积分是：<strong>${moneyit($login_user['score'])}</strong></h3>
				</div>
				<div class="sect">					
					<table id="order-list" cellspacing="0" cellpadding="0" border="0" class="coupons-table">
						<tr>
							<th width="30%">兑换时间</th>
							<th width="50%">详情</th>
							<th width="20%">状态</th>
						</tr>
						<!--{loop $credits $index $one}-->
						<tr ${$index%2?'':'class="alt"'}>
							<td>${date('Y-m-d H:i', $one['create_time'])}</td>
							<td>${ZCredit::Explain($one)}</td>
							<td>									
								<!--{if ($one['state']=='unpay')}-->
								未发货								
								<!--{else}-->
								已发货								
								<!--{/if}-->
							</td>
						</tr>
						<!--{/loop}-->
					</table>
				</div>  
			</div>
			<div style="margin:5px auto;">{$pagestring}</div>
		</article>
		<!--{include wap_footer}-->
	</body>
</html>